package intelligentcity.model.streets;

public abstract class TwoWayStreet {
	
	
	protected final static int distance = 10;
	protected OneWayStreet firstStreet;
	protected OneWayStreet secondStreet;
	
	public TwoWayStreet(OneWayStreet firstStreet, OneWayStreet secondStreet) {
		this.setFirstStreet(firstStreet);
		this.setSecondStreet(secondStreet);
		
	}

	public OneWayStreet getSecondStreet() {
		return secondStreet;
	}

	public void setSecondStreet(OneWayStreet secondStreet) {
		this.secondStreet = secondStreet;
	}

	public OneWayStreet getFirstStreet() {
		return firstStreet;
	}

	public void setFirstStreet(OneWayStreet firstStreet) {
		this.firstStreet = firstStreet;
	}

}
